<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>机场管理</title>
    <jsp:include page="/assets/common-css.jsp"/>
    <link rel="stylesheet" type="text/css"
          href="<%=request.getContextPath()%>/sys/airportmaintenance/css/airportMaintenance-listPage.css"/>
</head>
<body>
<div class="m-portlet m-portlet--mobile">
    <div class="m-portlet__head">
        <div class="m-portlet__head-caption">
            <div class="m-portlet__head-title">
                <h3 class="m-portlet__head-text">
                    机场管理
                </h3>
            </div>
        </div>
    </div>
    <div class="m-portlet__body">
        <div class="m-form m-form--label-align-right">
            <div class="row align-items-center">
                <div class="col-xl-12">
                    <div class="form-group m-form__group row align-items-center">
                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <select class="form-control m-input no-icon-form-control" name="airportThreeCode" id="resetTC"
                                        title="请输入机场三字段" data-live-search="true" required lay-verify="required"
                                        lay-verType="tips">
                                    <option></option>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <select class="form-control m-input no-icon-form-control" name="airportFourCode" id="resetFC"
                                        title="请输入机场四字段" data-live-search="true" required lay-verify="required"
                                        lay-verType="tips">
                                    <option></option>
                                </select>
                            </div>
                        </div>

                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <input type="text" class="form-control no-icon-form-control" autocomplete="off"
                                       placeholder="请输入机场中文名称" name="cname" id="resetCN">
                            </div>
                        </div>

                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <input type="text" class="form-control m-input no-icon-form-contro" autocomplete="off"
                                       placeholder="请输入机场英文名称" name="ename" id="resetEN">
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <select class="form-control no-icon-form-control" name="ifUse"
                                        title="请选择是否启用" data-live-search="true" required lay-verify="required"
                                        lay-verType="tips" id="resetIF">
                                    <option></option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="m-form m-form--label-align-right">
            <div class="col-md-4">
                <button class="btn btn-brand m-btn" id="m_search">
                    查询
                </button>
                <button class="btn btn-brand btn-search" id="m_reset">
                    重 置
                </button>
                <button class="btn btn-brand m-btn m-btn--icon" id="m_add" style="margin-left: 10px">
                    新增
                </button>
                <button class="btn btn-brand m-btn" id="deleteBtn" name="deleteBtn" style="margin-left: 10px">
                    批量删除
                </button>
            </div>
        </div>
        <div class="m_datatable m-datatable--label-align-right" id="airportMaintenance_data"></div>
    </div>
</div>
<jsp:include page="/assets/common/print/common-print.jsp"/>
<jsp:include page="/assets/common-js.jsp"/>
<script src="<%=request.getContextPath()%>/sys/airportmaintenance/js/picture_page.js"></script>
</body>
<script id="editHtml" type="text/html">
    <div class="m-form m-form--fit m-form--label-align-right layer-div  layui-form" id="user-form">
        <div class="m-portlet__body">
            <input type="hidden" id="edit_id">
            <div class="form-group m-form__group row airportThreeCode">
                <label class="col-lg-3 col-form-label">
                    机场三字码 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <select  type="text"  class="form-control m-input no-icon-form-control" name="airportThreeCode" id="EdAirportThreeCode" autocomplete="off"
                            title="请输入机场三字段" data-live-search="true" required lay-verify="airportThreeCode"
                            style="height: 32.7px;width: 538.53px;" autocomplete="off"

                    >
                        <option></option>
                    </select>

                </div>
            </div>
            <div class="form-group m-form__group row airportFourCode">
                <label class="col-lg-3 col-form-label">
                    机场四字码 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <select type="text" class="form-control m-input no-icon-form-control"  id="EdAirportFourCode" name="airportFourCode"
                            title="请输入机场四字段" data-live-search="true" required lay-verify="airportFourCode"
                            style="height: 32.7px;width: 538.53px;" autocomplete="off"
                    >
                        <option></option>
                    </select>
                </div>
            </div>
            <div class="form-group m-form__group row cname">
                <label class="col-lg-3 col-form-label">
                    机场中文名称<font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" name="cname" id="cname" autocomplete="off"
                           class="form-control" required lay-verify="cname" placeholder="请输入机场中文名称">
                </div>
            </div>
            <div class="form-group m-input-icon m-form__group row ename" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场英文名称 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" id="ename" name="ename" onchange="toChange()"
                           class="form-control m-input no-icon-form-control" required lay-verify="required" placeholder="请输入机场英文名称">
                </div>
            </div>
            <div class="form-group m-form__group row country" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场所在国家 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" disabled="true" name="country" class="form-control" value="CN" text="中国">
                </div>
            </div>
            <div class="form-group m-form__group row province" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场所在省份 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <select class="form-control" name="province" id="province"
                            onchange="provinceChange()" lay-filter="test"
                            title="请选择机场所在省份" data-live-search="true" required lay-verify="required"
                            style="height: 32.7px;width: 538.53px;" autocomplete="off">
                        <option></option>
                    </select>
                </div>
            </div>
            <div class="form-group m-form__group row city" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场所在城市 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <select class="form-control" name="city" id="city" autocomplete="off"
                            title="请选择机场所在市区" data-live-search="true" required lay-verify="required"
                            style="height: 32.7px;width: 538.53px;">
                        <option></option>
                    </select>
                </div>
            </div>
            <div class="form-group m-form__group row taddress" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场电报地址 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" id="taddress" name="taddress"
                           class="form-control m-input no-icon-form-control" required lay-verify="taddress" placeholder="请输入机场电报地址">
                </div>
            </div>
            <div class="form-group m-form__group row longitude" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场经度 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" id="longitude" name="longitude"
                           class="form-control" required lay-verify="longitude" placeholder="请输入机场经度">
                </div>
            </div>
            <div class="form-group m-form__group row widthitude" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    机场纬度 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" id="widthitude" name="widthitude"
                           class="form-control" required lay-verify="widthitude" placeholder="请输入机场纬度">
                </div>
            </div>
            <div class="form-group m-form__group row ifUse">
                <label class="col-lg-3 col-form-label">
                    是否启用<font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <select class="form-control" name="ifUse" id="EdIfUse"
                            title="请选择状机场状态" data-live-search="true" required lay-verify="required"
                            style="height: 32.7px;width: 538.53px;" autocomplete="off"
                    >
                        <option></option>
                    </select>
                </div>
            </div>
            <div id="agentsDivs"></div>
            <div class="m-portlet__foot m-portlet__foot--fit">
                <div class="m-form__actions m-form__actions">
                    <div class="row">
                        <div class="col-lg-12 ml-lg-auto">
                            <button id="edit_cancle" class="btn btn-secondary m--pull-right"
                                    style="border-radius: 25px">
                                取消
                            </button>
                            <button id="edit_yes" lay-submit lay-filter="save_airportmaintenance"
                                    class="btn btn-brand m--pull-right">
                                保存
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</script>
</html>